package cs294s.liveradar.service;

import java.util.ArrayList;

import cs294s.liveradar.data.Filter;

import android.content.Context;

/*
 * Communicates with the server. Retrieves filters and sends filters.
 */
public class FilterManager {

    /**
     * Holds the single instance that is shared by the process.
     */
    private static FilterManager sInstance;
    private Context mContext;
    

	ArrayList<Filter> filters;
    
    public static FilterManager getInstance(Context c) {
        if (sInstance == null) {
            sInstance = new FilterManager(c);
        }
        return sInstance;
    }
    

    private FilterManager(Context c) {
        mContext = c;
        filters = new ArrayList<Filter>();
    }
    
    
}
